package com.xh.audit.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 实体类。
 * 内控评价表
 *
 * @author LHL
 * @since 2023-10-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "au_internal_control_evaluation", schema = "audit")
public class InternalControlEvaluation implements Serializable {

    /**
     * 主键
     */
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     * 被评价单位(关联被审计单位)
     */
    private Integer evaluatedUnit;

    /**
     * 评价年度
     */
    private Integer year;

    /**
     * 评价日期
     */
    private Timestamp evaluatedDate;

    /**
     * 评价信息 以json原样存储
     */
    private String evaluatedJsonarr;

}
